package security;

import java.security.Key;

import model.Poll;

public interface Security {
	byte[]  encryptMessage(String message);
	byte[]  encryptPassword(String password);
	String decryptMessage(Key secretKeyToDecrypt,byte[] cryptedMessage);
	String decryptPassword(Key secretKeyToDecrypt,byte[] cryptedPassword);
	String decryptMessage(Key secretKeyToDecrypt,String cryptedMessage);
	String decryptPassword(Key secretKeyToDecrypt,String cryptedPassword);
	Key getKey();
}
